<?php
require_once($application_folder."/controllers/navigator.php");
class WeatherTest extends Navigator{

    function __construct(){
        parent::__construct();
    }

    function index(){
        $this->preview();
    }

    function preview(){

        $this->load->library('weather',array('loc' => 'MWXX0001'));                                       

        $this->weather->initialize();
        echo  "<br />".$this->weather->img();
        echo  "<br />Max:".$this->weather->tmax();
        echo  "<br />Min:".$this->weather->tmin();
        echo  "<br />Cur:".$this->weather->cur();
        echo  "<br />Day:".$this->weather->day();
        echo  "<br />Hmd".$this->weather->hmd();
        echo  "<br />Pre".$this->weather->pre();
        
    }



}